package com.djx.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName: AliSmsConfiguration
 * @Description: TODO
 * @author: 星~
 * @date: 2021/9/28 0028 下午 14:59
 */
@Component
@Data
@ConfigurationProperties(prefix = "ali.sms")
public class AliSmsConfiguration {
    public String accessKeyId; // 访问秘钥ID
    public String accessKeySecret; // 访问秘钥
    public String endpoint; // 端点
    public String templateCode; // 模板id
    public String signName; // 签名
}
